package com.yb0os1.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(
        description = "新增分类时传递的数据模型"
)
@Data
public class CategoryDTO {
    @Schema(name = "主键ID")
    private Long id;
    @Schema(name = "分类类型：1为菜品分类，2为套餐分类")
    private Integer type;
    @Schema(name = "分类名称")
    private String name;
    @Schema(name = "排序，按照升序排序")
    private Integer sort;
}
